import request from '../index'

// 1.获取分类导航数据

function indexaction () {
  return request({
    url: 'category/indexaction',
    method: 'get'
  })
}

function currentaction (data) {
  return request({
    url: '/category/currentaction',
    method: 'GET',
    data
  })
}
export {
  indexaction,
  currentaction
}
